package com.shambles.manage2.tkmapper.entity;

import java.io.Serializable;
import java.util.List;
import javax.persistence.*;

@Table(name = "subscribe_information")
public class SubscribeInformation implements Serializable {

    private Integer id;     //数据库自生成的id 主键

    private List<String> imagesUrl; //图片地址

    public List<String> getImagesUrl() {
        return imagesUrl;
    }

    public void setImagesUrl(List<String> imagesUrl) {
        this.imagesUrl = imagesUrl;
    }

    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    /**
     * guid
     */
    @Column(name = "guid")
    private String guid;

    /**
     * 预约人openID
     */
    @Column(name = "subscribe_open_id")
    private String subscribeOpenId;

    /**
     * 预约时间
     */
    @Column(name = "subscribe_time")
    private Long subscribeTime;

    /**
     * 状态（成功、失败、待审核）
     */
    @Column(name = "status")
    private Integer status;

    /**
     * 客户备注
     */
    @Column(name = "mark")
    private String mark;

    /**
     * 预约失败原因
     */
    @Column(name = "fail_mark")
    private String failMark;

    /**
     * 检验图片guid
     */
    @Column(name = "picture_guid")
    private String pictureGuid;

    /**
     * 操作人员guid
     */
    @Column(name = "personnel_guid")
    private String personnelGuid;

    /**
     * 预约当前时间
     */
    @Column(name = "current_time_now")
    private Long currentTimeNow;

    /**
     * 预约人姓名
     */
    @Column(name = "subscribe_name")
    private String subscribeName;

    /**
     * 操作人员名字
     */
    @Column(name = "personnel_name")
    private String personnelName;

    /**
     * 预约详情
     */
    private List<SubscribeDetail> details;

    /**
     * 预约人电话
     */
    private String phone;

    public String getPhone() {
        return phone;
    }

    public void setPhone(String phone) {
        this.phone = phone;
    }

    public List<SubscribeDetail> getDetails() {
        return details;
    }

    public void setDetails(List<SubscribeDetail> details) {
        this.details = details;
    }

    private static final long serialVersionUID = 1L;

    public List<String> UrlList = null;

    public List<SubscribeDetail> SubDetail = null;

    public String user=null;

    /**
     * 获取guid
     *
     * @return guid - guid
     */
    public String getGuid() {
        return guid;
    }

    /**
     * 设置guid
     *
     * @param guid guid
     */
    public void setGuid(String guid) {
        this.guid = guid == null ? null : guid.trim();
    }

    /**
     * 获取预约人openID
     *
     * @return subscribe_open_id - 预约人openID
     */
    public String getSubscribeOpenId() {
        return subscribeOpenId;
    }

    /**
     * 设置预约人openID
     *
     * @param subscribeOpenId 预约人openID
     */
    public void setSubscribeOpenId(String subscribeOpenId) {
        this.subscribeOpenId = subscribeOpenId == null ? null : subscribeOpenId.trim();
    }

    /**
     * 获取预约时间
     *
     * @return subscribe_time - 预约时间
     */
    public Long getSubscribeTime() {
        return subscribeTime;
    }

    /**
     * 设置预约时间
     *
     * @param subscribeTime 预约时间
     */
    public void setSubscribeTime(Long subscribeTime) {
        this.subscribeTime = subscribeTime;
    }

    /**
     * 获取状态（成功、失败、待审核）
     *
     * @return status - 状态（成功、失败、待审核）
     */
    public Integer getStatus() {
        return status;
    }

    /**
     * 设置状态（成功、失败、待审核）
     *
     * @param status 状态（成功、失败、待审核）
     */
    public void setStatus(Integer status) {
        this.status = status;
    }

    /**
     * 获取客户备注
     *
     * @return mark - 客户备注
     */
    public String getMark() {
        return mark;
    }

    /**
     * 设置客户备注
     *
     * @param mark 客户备注
     */
    public void setMark(String mark) {
        this.mark = mark == null ? null : mark.trim();
    }

    /**
     * 获取预约失败原因
     *
     * @return fail_mark - 预约失败原因
     */
    public String getFailMark() {
        return failMark;
    }

    /**
     * 设置预约失败原因
     *
     * @param failMark 预约失败原因
     */
    public void setFailMark(String failMark) {
        this.failMark = failMark == null ? null : failMark.trim();
    }

    /**
     * 获取检验图片guid
     *
     * @return picture_guid - 检验图片guid
     */
    public String getPictureGuid() {
        return pictureGuid;
    }

    /**
     * 设置检验图片guid
     *
     * @param pictureGuid 检验图片guid
     */
    public void setPictureGuid(String pictureGuid) {
        this.pictureGuid = pictureGuid == null ? null : pictureGuid.trim();
    }

    /**
     * 获取操作人员guid
     *
     * @return personnel_guid - 操作人员guid
     */
    public String getPersonnelGuid() {
        return personnelGuid;
    }

    /**
     * 设置操作人员guid
     *
     * @param personnelGuid 操作人员guid
     */
    public void setPersonnelGuid(String personnelGuid) {
        this.personnelGuid = personnelGuid == null ? null : personnelGuid.trim();
    }

    /**
     * 获取预约当前时间
     *
     * @return current_time_now - 预约当前时间
     */
    public Long getCurrentTimeNow() {
        return currentTimeNow;
    }

    /**
     * 设置预约当前时间
     *
     * @param currentTimeNow 预约当前时间
     */
    public void setCurrentTimeNow(Long currentTimeNow) {
        this.currentTimeNow = currentTimeNow;
    }

    /**
     * 获取预约人姓名
     *
     * @return subscribe_name - 预约人姓名
     */
    public String getSubscribeName() {
        return subscribeName;
    }

    /**
     * 设置预约人姓名
     *
     * @param subscribeName 预约人姓名
     */
    public void setSubscribeName(String subscribeName) {
        this.subscribeName = subscribeName == null ? null : subscribeName.trim();
    }

    /**
     * 获取操作人员名字
     *
     * @return personnel_name - 操作人员名字
     */
    public String getPersonnelName() {
        return personnelName;
    }

    /**
     * 设置操作人员名字
     *
     * @param personnelName 操作人员名字
     */
    public void setPersonnelName(String personnelName) {
        this.personnelName = personnelName == null ? null : personnelName.trim();
    }
}